package com.jm.product.controller.dto;

import java.util.List;

import org.assertj.core.util.Lists;

public class Menu {

	private String id;
	private String text;
	private String icon;
	private String url;
	private boolean close = true; //默认关闭
	
	private List<Menu> menus = Lists.newArrayList();
	
	public Menu() {
		super();
	}
	public Menu(String id, String text, String icon, String url) {
		super();
		this.id = id;
		this.text = text;
		this.icon = icon;
		this.url = url;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public boolean isClose() {
		return close;
	}
	public void setClose(boolean close) {
		this.close = close;
	}

	public List<Menu> getMenus() {
		return menus;
	}
	public void setMenus(List<Menu> menus) {
		this.menus = menus;
	}
	
}
